Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cookies.get should be able to filter domain #20471

Merged
merged 2 commits into from
Oct 9, 2019
Merged

Conversation

zcbenz
Copy link
Member

@zcbenz zcbenz commented Oct 8, 2019

Description of Change

Fix #20392.

This PR fixes a bug that wrong API was used when url is not specified, this bug was introduced when migrating to NetworkService APIs.

Checklist

Release Notes

Notes: Fix cookies.get not working when url is not specified in filter.

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Oct 8, 2019
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Oct 9, 2019
@zcbenz zcbenz merged commit 5e11be6 into master Oct 9, 2019
@release-clerk
Copy link

release-clerk bot commented Oct 9, 2019

Release Notes Persisted

Fix cookies.get not working when url is not specified in filter.

@zcbenz zcbenz deleted the fix-cookies-getall branch October 9, 2019 06:57
@trop
Copy link
Contributor

trop bot commented Oct 9, 2019

I was unable to backport this PR to "7-0-x" cleanly;
you will need to perform this backport manually.

zcbenz added a commit that referenced this pull request Oct 9, 2019
* fix: use GetAllCookies when url is empty

* test: get cookie without url
@trop
Copy link
Contributor

trop bot commented Oct 9, 2019

@zcbenz has manually backported this PR to "7-0-x", please check out #20496

jkleinsc pushed a commit that referenced this pull request Oct 9, 2019
* fix: use GetAllCookies when url is empty

* test: get cookie without url
@btzsoft
Copy link

btzsoft commented Oct 10, 2019

@zcbenz what about .set method, will work without url?

@zcbenz
Copy link
Member Author

zcbenz commented Oct 11, 2019

Yeah the .set API works without url.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Filter cookies by domain is not working in 7.0.0
3 participants